import request from '@/utils/request'
export const getProDetail = (goodsId) => {
  return request.get('/goods/detail', {
    params: {
      goodsId
    }
  })
}

export const getProComment = (obj) => {
  const { goodsId, limit } = obj
  return request.get('comment/listRows', {
    params: {
      goodsId,
      limit
    }
  })
}
